import { IParam } from '../../common';
import { IReportPanelAbility } from '../ability';
import { ReportPanelActionType } from '../event';
import { IReportPanelModel } from '../model';
import { IMDCtrlControllerParams } from './i-md-ctrl-controller-params';

/**
 * 报表面板部件控制器参数
 *
 * @export
 * @interface ICtrlControllerParams
 */
export interface IReportPanelControllerParams<T, A extends IReportPanelAbility>
	extends IMDCtrlControllerParams<T | ReportPanelActionType, A> {
	/**
	 * 面板模型
	 *
	 * @type {IReportPanelModel}
	 * @memberof IReportPanelControllerParams
	 */
	model: IReportPanelModel;

	/**
	 * 自定义参数
	 *
	 * @type {IParam}
	 * @memberof IReportPanelControllerParams
	 */
	customParams?: IParam;
}
